package com.sgb.kjwl.di.order;

import com.sgb.kjwl.view.ui.activity.self.order.ChangeOrderPeopleActivity;
import com.sgb.kjwl.viewmodel.self.ChangeOrderPeopleModel;
import com.swgk.core.base.di.Activity;

import dagger.Module;
import dagger.Provides;

@Module
public class ChangeOrderPeopleModule {
    private ChangeOrderPeopleActivity activity;

    public ChangeOrderPeopleModule(ChangeOrderPeopleActivity activity) {
        this.activity = activity;
    }

    @Provides
    @Activity
    ChangeOrderPeopleModel provideChangeOrderPeopleModel() {
        return new ChangeOrderPeopleModel(activity);
    }

}
